package org.platform.mo.db;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "tb_fd_kb_knowledgemain")
@Data
public class FdKbKnowledgemain {
    @Id
    @Column(name = "ID")
    private String id;

    /**
     * 知识ID
     */
    @Column(name = "KnowledgeID")
    private String knowledgeid;

    /**
     * 创建时间
     */
    @Column(name = "CreateTime")
    private Long createtime;

    /**
     * 知识类型(0：监测点知识
     * 1：测试知识
     * 2：故障树知识
     * 3：案例知识
     * 4：专家知识
     * 5：标准参考源知识
     * 6：文档知识
     * )
     */
    @Column(name = "KnowledgeType")
    private Integer knowledgetype;

    /**
     * 申请人
     */
    @Column(name = "ApplyUser")
    private String applyuser;

    /**
     * 审核人
     */
    @Column(name = "AuditUser")
    private String audituser;

    /**
     * 申请时间
     */
    @Column(name = "ApplyTime")
    private Long applytime;

    /**
     * 审核时间
     */
    @Column(name = "AuditTime")
    private Long audittime;

    /**
     * 站点(Xinan:西南站
     * Sanya:三亚站
     * Kasha:喀什站
     * Miyun:密云站
     * )
     */
    @Column(name = "Station")
    private String station;

    /**
     * 知识名称
     */
    @Column(name = "KnowName")
    private String knowname;

    /**
     * 申请状态(0申请中 1审核通过 2 审核不通过)
     */
    @Column(name = "status")
    private Integer status;

    /**
     * 版本号
     */
    @Column(name = "version")
    private Double version;
    /**
     * 当前使用(0：使用1：未使用)
     */
    @Column(name = "UseBy")
    private Integer userby;


}